import Vue from "vue";
import VueRouter from "vue-router";

Vue.use(VueRouter);

const constantRoutes = [
  {
    path: "/",
    name: "default-theme",
    component: () => import("../views/theme/index.vue"),
  },
  {
    path: "/test",
    name: "test-theme",
    component: () => import("../views/tes.vue"),
  },
];

const router = new VueRouter({
  // mode: "history",
  routes: constantRoutes,
});

export default router;
